#ifndef DIALOGADDUSER_H
#define DIALOGADDUSER_H

#include <qvariant.h>


#include <Qt3Support/Q3MimeSourceFactory>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>

QT_BEGIN_NAMESPACE

class Ui_DialogAddUser
{
public:
    QGridLayout *gridLayout;
    QLineEdit *line_edit_new_name;
    QSpacerItem *Horizontal_Spacing2;
    QPushButton *buttonOk;

    void setupUi(QDialog *DialogAddUser)
    {
        if (DialogAddUser->objectName().isEmpty())
            DialogAddUser->setObjectName(QString::fromUtf8("DialogAddUser"));
        DialogAddUser->resize(507, 105);
        DialogAddUser->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(DialogAddUser);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        line_edit_new_name = new QLineEdit(DialogAddUser);
        line_edit_new_name->setObjectName(QString::fromUtf8("line_edit_new_name"));

        gridLayout->addWidget(line_edit_new_name, 0, 0, 1, 2);

        Horizontal_Spacing2 = new QSpacerItem(412, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(Horizontal_Spacing2, 1, 0, 1, 1);

        buttonOk = new QPushButton(DialogAddUser);
        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
        buttonOk->setAutoDefault(true);
        buttonOk->setDefault(true);

        gridLayout->addWidget(buttonOk, 1, 1, 1, 1);


        retranslateUi(DialogAddUser);
        QObject::connect(buttonOk, SIGNAL(clicked()), DialogAddUser, SLOT(accept()));

        QMetaObject::connectSlotsByName(DialogAddUser);
    } // setupUi

    void retranslateUi(QDialog *DialogAddUser)
    {
        DialogAddUser->setWindowTitle(QApplication::translate("DialogAddUser", "Add New User", 0, QApplication::UnicodeUTF8));
        buttonOk->setText(QApplication::translate("DialogAddUser", "&OK", 0, QApplication::UnicodeUTF8));
        buttonOk->setShortcut(QString());
    } // retranslateUi

};

namespace Ui {
    class DialogAddUser: public Ui_DialogAddUser {};
} // namespace Ui

QT_END_NAMESPACE

class DialogAddUser : public QDialog, public Ui::DialogAddUser
{
    Q_OBJECT

public:
    DialogAddUser(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~DialogAddUser();

protected slots:
    virtual void languageChange();

};

#endif // DIALOGADDUSER_H
